@if ($breadcrumbs)
    <section class="content-header">
        <h1>{{ $breadcrumbs[count($breadcrumbs)-1]->title }} <small>Control panel</small></h1>
        <ol class="breadcrumb">
            @foreach ($breadcrumbs as $breadcrumb)
                @if (!$loop->last)
                    <li><a href="{{ $breadcrumb->url }}">{{ $breadcrumb->title }}</a></li>
                @else
                    <li class="active">{{ $breadcrumb->title }}</li>
                @endif
            @endforeach
        </ol>
    </section>
@endif